﻿using Network.UpdateData;
using System.Net.Sockets;

namespace SFJDService.SocketHandle
{
    /// <summary>
    /// 接收到用户界面发送来的添加委托单位的请求
    /// </summary>
    public class PH02Brigade : PacketHandle
    {
        /// <summary>
        /// UDP, code 1030
        /// </summary>
        public PH02Brigade(Socket socket, Packet packet) : base(socket, packet) { }

        protected override void Handle()
        {
            Launcher.SendMsg2All(typeof(PH02AddBrigade).GetDictianaryKey(), Message);
            Delay(200);
            new Synchronization(SynType.Brigade);
        }
    }
}
